package com.sparrow.manage.icon.controller;

import com.sparrow.config.EnvironmentVariables;
import com.sparrow.manage.common.entity.result.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 图标管理
 */
@Controller
@RequestMapping(EnvironmentVariables.MANAGE_ACCESS_PREFIX + "/icon")
public class IconController {

    @RequestMapping("index")
    public String index(){
        return EnvironmentVariables.MANAGE_TEMPLATE_STORE_PATH + "icon/index";
    }

    @RequestMapping("updateIconFile")
    @ResponseBody
    public Result uploadIconFile(){
        return null;
    }

    @RequestMapping("select")
    public String iconSelectPage(){
        return EnvironmentVariables.MANAGE_TEMPLATE_STORE_PATH + "icon/select";
    }

}
